<div id="rightFixedNav">
    <ul>
    	<li class="user">
            <span class="iconfont icon">&#xe631;</span>
            <a href="/calculator" class="text" target="_blank">计算器</a>
        </li>
        <li class="user">
            <span class="iconfont icon">&#xe622;</span>
            <a href="/account/info" class="text">我的<br>账户</a>
        </li>
        <li class="QQ">
            <span class="iconfont icon">&#xe62a;</span>
            <a href="http://crm2.qq.com/page/portalpage/wpa.php?uin=4008807023&aty=0&a=0&curl=&ty=1" target="_blank;" class="text">在线<br>客服</a>
        </li>
        <li class="WX">
            <span class="iconfont icon">&#xe60e;</span>
            <span class="fade text"><em class="iconfont">&#xe605;</em></span>
            <a href="javascript:void(0);" class="text">订阅<br>号<u style="color: #0081c4">码</u> <img src="${_front_images}/codeIcon.jpg" alt=""></a>
        </li>
        <li class="interest">
            <span class="iconfont icon">&#xe627;</span>
            <a href="http://weibo.com/u/5726567464" target="_blank" class="text">新浪<br>微博</a>
        </li>
    </ul>
    <span class="digg"><i class="iconfont">&#xe60f;</i></span>
</div>
<div id="top">
    <div  class="cnt">
        <p class="fl">
            <span>客服热线：400-880-7023</span>
            <a href="http://crm2.qq.com/page/portalpage/wpa.php?uin=4008807023&aty=0&a=0&curl=&ty=1" target="_blank;">在线客服</a>
        </p>
        <ul class=" listUl fr">
        	<#if _user?exists>
        		<li>您好：<a href="/account/info" style="color:#f5760f;">${_user.username}</a></li>
        		<li><a href="/logout">退出</a></li>
        	<#else>
        		<li><a href="/login" style="color:#f5760f;">请登录</a></li>
        		<li><a href="/register">免费注册</a></li>
        	</#if>
        	<!--<li><a href="/borrow">我要借款</a></li>-->
        	<li><a href="/activityCenter">活动中心</a></li>
            <!--<li><a href="/security">安全保障</a></li>
            <li><a href="/guide">新手指南</a></li>-->
            <li class="last"><a href="/help">帮助中心</a></li>
        </ul>
    </div>
</div>
<div id="nav">
    <div class="cnt clearfix">
        <div class="logo fl"><h1><a href="/index">迅泊达-信泊海内、诚达天下</a></h1></div>
        <ul class="navList clearfix fr">
            <li><a href="/index">首页</a></li>
            <li><a href="/borrow">我要借款</a></li>
            <!--<li><a href="/invest/list">新车买卖</a></li>-->
            <li  class="columnList">
                  <span class="topRadius">我要理财 <em class="iconfont bottomIcon">&#xe600;</em></span>
                <dl>
                    <dd><a href="/invest/list" class="bottomRadius">投资列表</a></dd>
                    <dd><a href="/invest/list?type=change">债权转让</a></dd>
                </dl>
            </li>
            <li class="columnList">
                <span class="topRadius">项目介绍 <em class="iconfont bottomIcon">&#xe600;</em></span>
                <dl>
                    <dd><a href="/item/car" class="bottomRadius">车贷E通</a></dd>
                    <dd><a href="/item/house">房E贷</a></dd>
                    <dd><a href="/item/business">商易贷</a></dd>
                    <dd><a href="/item/car/mortgage">车商贷</a></dd>
                </dl>
            </li>
            <!--
            <li>
            	<a href="javascript:;">新车买卖</a>
            	<img src="${_front_images}/hot.gif" style="position: relative;right: -102px;top: -34px;">	
            </li>      
            -->   
            <li class="columnList">
				<span class="topRadius">积分商城&nbsp;<em class="iconfont bottomIcon">&#xe600;</em></span>  
				<dl>
                    <dd><a href="/good/list" class="bottomRadius">积分兑换</a></dd>
                    <dd><a href="/score/draw">积分抽奖</a></dd>
            	</dl>				          	
            </li>
            <li><a href="/about" style="border-right:0px;">关于我们</a></li>
        </ul>
    </div>
</div>

<script>
window.onload=function(){	
	var dHeight = $(document).height();//页面高度
  	var wHeight = $(window).height();//可视窗口高度
  	var topDiv = $("#nav").height();
    
    //鼠标滚动事件
  	$(window).scroll(function() {
  		var top=$(window).scrollTop();//鼠标滑动高度
  		if(dHeight-wHeight-40<topDiv){
  			return;
  		}
  		if(top>=40){
  			$("#nav").addClass('fixed_title');
  		}else{
  			$("#nav").removeClass('fixed_title');
  		}
	});
};
</script>